<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>下拉选择框</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0-beta/css/bootstrap.min.css">
    <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>

    <script src="../../js/page.js"></script>
    <script src="https://cdn.bootcss.com/popper.js/1.12.5/umd/popper.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"></script>

</head>

<body>
    <section class="container">
        <h3>
            下拉选择框
        </h3>
        <p>
            当您想让用户从多个选项中进行选择，但是默认情况下只能选择一个选项时，则使用选择框。
        </p>
        <!-- item -->
        <div class="card my-4">
            <div class="card-header">
                <h5 class="text-primary">默认</h5>
            </div>
            <div class="card-body">
                <select class="form-control" id="sel1">
                    <option>1</option>
                    <option>2</option>
                    <option>3</option>
                    <option>4</option>
                </select>
            </div>
        </div>
        <!-- item end-->
        <!-- item -->
        <div class="card my-4">
            <div class="card-header">
                <h5 class="text-primary">多选</h5>
                <p>手机上可以可以呈现多个选择</p>
            </div>
            <div class="card-body">
                <select id="sel1" class="form-control"  rel="multiple" multiple>
                    <option>1</option>
                    <option>2</option>
                    <option>3</option>
                    <option>4</option>
                </select>
            </div>
        </div>
        <!-- item end-->
    </section>

</body>

</html>